package com.work.work.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(description = "项目任务DTO")
public class ProjectTaskDTO {
    @Schema(description = "任务ID")
    private Integer id;

    @Schema(description = "任务名称")
    private String taskName;

    @Schema(description = "优先级")
    private Integer priority;

    @Schema(description = "负责人")
    private String assignee;

    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    private LocalDateTime endTime;

    @Schema(description = "任务状态")
    private Integer status;

    @Schema(description = "任务描述")
    private String description;
}